package think.enums;

public enum Code {
	SUCCESS("0000","操作成功"),
	FAIL("9999","操作失败"),
	EXCEPTION("9990","操作异常");
	
	
	private String code;
	private String description;
	
	private Code(String code,String description){
		this.code=code;
		this.description=description;
	}
	public  String getCode(){
		return code;
	}
	public  String getDesc(){
		return description;
	}
}
